package com.gw.booking.dto.wechat;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;

public class WCustomerNameDto {

    @ApiModelProperty(value = "姓名")
    @Pattern(regexp = "^.{1,10}$")
    @NotBlank
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
